Remove(TKey) Method

Summary

Removes the element with the specified key from the IDictionary.

Syntax
C#
VB
C++
public virtual bool Remove( 
   TKey key 
) 
  
Public Overloads Overridable Function Remove( _ 
   ByVal key As TKey _ 
) As Boolean 
public: 
virtual bool Remove(  
   TKey^ key 
)  

Parameters

key
The key of the element to remove.

Return Value

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.NotSupportedExceptionThe IDictionary is read-only.

Requirements

Target Platforms

Help Version 20.0.2020.5.27
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly